package com.testfileupload.uploadimg.design.decorate.define;

public class Decorator extends Component{
    private Component component =null;

    public Decorator(Component component) {
        this.component = component;
    }

    //委托给被修饰类执行
    @Override
    public void operate() {
        this.component.operate();
    }
}
